<!DOCTYPE html>
<html>
  <head>
    <title></title>
    <meta charset="utf-8">
    <style>
      @import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
      @import url(https://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
      @import url(https://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
      body { font-family: 'time'; }
      h1, h2, h3 {
        font-family: 'time';
        font-weight: normal;
      }
      .sh_stata {font-size:60%;font-weight: bold;}
      .remark-code, .remark-inline-code { font-family: 'Ubuntu Mono'; font-size:60%;}
    </style>
    <script type='text/javascript' src='http://haghish.com/statax/Statax.js'></script>
  </head>
  <body>
    <textarea id="source">


class: center, middle



Title
=====

subtitle
--------

---

# Tables

Your documents, slides, and help files can include tables!

| Tables          | style of table       | Cool    |
| :-------------- |:-------------------- | :------ |
| col 3 is        | right-aligned        | $1600   |
| col 2 is        | centered             |   $12   |



You can also create your tables online. The website mentioned below produces 
the format that is "ideal" for MarkDoc

| __Website__        | __URL__                                         |
|--------------------|-------------------------------------------------|
| _Tables Generator_ | https://www.tablesgenerator.com/markdown_tables |

---

# Agenda

1. Introduction
2. Deep-dive
3. ...

or unordered list:

- Introduction
- Deep-dive
- ...


---





<pre class='sh_stata'>          . sysuse auto, clear</pre>

          (1978 Automobile Data)

<pre class='sh_stata'>          . summarize price mpg</pre>

              Variable |        Obs        Mean    Std. Dev.       Min        Max
          -------------+---------------------------------------------------------
                 price |         74    6165.257    2949.496       3291      15906
                   mpg |         74     21.2973    5.785503         12         41



This will start an __asis__ mode, which remember, it does not recognize "tabs". 
So until Stata fixes this problem, style your code with spaces rather than tabs.

<pre class='sh_stata'>
    
if main.r2.iseq(1) {
    call main.master.enable
}
else {
    call main.master.disable
}       
</pre>


---

# Introduction


<pre class='sh_stata'>          . reg price mpg</pre>

                Source |       SS           df       MS      Number of obs   =        74
          -------------+----------------------------------   F(1, 72)        =     20.26
                 Model |   139449474         1   139449474   Prob > F        =    0.0000
              Residual |   495615923        72  6883554.48   R-squared       =    0.2196
          -------------+----------------------------------   Adj R-squared   =    0.2087
                 Total |   635065396        73  8699525.97   Root MSE        =    2623.7

          ------------------------------------------------------------------------------
                 price |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
          -------------+----------------------------------------------------------------
                   mpg |  -238.8943   53.07669    -4.50   0.000    -344.7008   -133.0879
                 _cons |   11253.06   1170.813     9.61   0.000     8919.088    13587.03
          ------------------------------------------------------------------------------




---

### Listing observations



<pre class='sh_stata'>          . list in 1/5</pre>

               +--------------------------------------------------------------------------------------------+
            1. | make          | price | mpg | rep78 | headroom | trunk | weight | length | turn | displa~t |
               | AMC Concord   | 4,099 |  22 |     3 |      2.5 |    11 |  2,930 |    186 |   40 |      121 |
               |--------------------------------------------------------------------------------------------|
               |                  gear_r~o                   |                    foreign                   |
               |                      3.58                   |                   Domestic                   |
               +--------------------------------------------------------------------------------------------+

               +--------------------------------------------------------------------------------------------+
            2. | make          | price | mpg | rep78 | headroom | trunk | weight | length | turn | displa~t |
               | AMC Pacer     | 4,749 |  17 |     3 |      3.0 |    11 |  3,350 |    173 |   40 |      258 |
               |--------------------------------------------------------------------------------------------|
               |                  gear_r~o                   |                    foreign                   |
               |                      2.53                   |                   Domestic                   |
               +--------------------------------------------------------------------------------------------+

               +--------------------------------------------------------------------------------------------+
            3. | make          | price | mpg | rep78 | headroom | trunk | weight | length | turn | displa~t |
               | AMC Spirit    | 3,799 |  22 |     . |      3.0 |    12 |  2,640 |    168 |   35 |      121 |
               |--------------------------------------------------------------------------------------------|
               |                  gear_r~o                   |                    foreign                   |
               |                      3.08                   |                   Domestic                   |
               +--------------------------------------------------------------------------------------------+

               +--------------------------------------------------------------------------------------------+
            4. | make          | price | mpg | rep78 | headroom | trunk | weight | length | turn | displa~t |
               | Buick Century | 4,816 |  20 |     3 |      4.5 |    16 |  3,250 |    196 |   40 |      196 |
               |--------------------------------------------------------------------------------------------|
               |                  gear_r~o                   |                    foreign                   |
               |                      2.93                   |                   Domestic                   |
               +--------------------------------------------------------------------------------------------+

               +--------------------------------------------------------------------------------------------+
            5. | make          | price | mpg | rep78 | headroom | trunk | weight | length | turn | displa~t |
               | Buick Electra | 7,827 |  15 |     4 |      4.0 |    20 |  4,080 |    222 |   43 |      350 |
               |--------------------------------------------------------------------------------------------|
               |                  gear_r~o                   |                    foreign                   |
               |                      2.41                   |                   Domestic                   |
               +--------------------------------------------------------------------------------------------+



    </textarea>
    <script src="https://remarkjs.com/downloads/remark-latest.min.js">
    </script>
    <script>
      var slideshow = remark.create();
    </script>
  </body>
</html>
